import request from "@/utils/request";

export function getLatestLogAndNameList() {
  return request({
    url: '/radarLog/getPredictionName', method: 'get'
  })
}

export function getLatestName() {
  return request({
    url: '/radarLog/getLatestName', method: 'get'
  })
}

export function getByTime(searchTime) {
  return request({
    url: '/radarLog/getByTime', method: 'get', params: searchTime
  })
}

export function getLatestLogAndNameListWithCurrentName() {
  return request({
    url: '/radarLog/getPredictionNameWithCurrentName', method: 'get'
  })
}
